using System;
using System.Collections.Generic;
using System.Text;
using PreguntaAlExperto.DataFramework;
using PreguntaAlExperto.RulesLayer.Entities;
using PreguntaAlExperto.TransporterObjectsFramework;
using PreguntaAlExperto.RulesLayer.ObjectMapper.Contracts;

namespace PreguntaAlExperto.ObjectMapper.DTO
{
    internal class SingleValueDTO
        : BaseDTO
    {
        public object Select(string query, SearchCriteria searchCriteria)
        {
            DataAccess dataAccess = new DataAccess();
            return dataAccess.SelectOne(query, searchCriteria);
        }
    }
}
